<!--三级菜单-->
{if condition="empty($child_menu_list)==false"}
<div class="collapse navbar-collapse pull-left " id="navbar-collapse" style="background-color: #ddd;
width: 100%; margin-bottom: 5px">
    <ul class="nav navbar-nav web_child_nav">
        {volist name="child_menu_list" id="c_menu"}
        <li class="{$c_menu['url']==$page_url ? 'active' : ''}"><a href="javascript:;" onclick="reload_tab(this)" data-url="{:url($c_menu['url'])}">{$c_menu['title']} </a></li>
        {/volist}

    </ul>
</div>
{/if}
<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box-tools">
                <div class="input-group input-group-sm" style="width: 150px;">
                    <a href="{:url('/Index/Project/Plan/add')}" class="btn btn-block btn-info" data-toggle="modal" data-target="#base_plan_modal">添加里程碑计划</a>
                </div>
            </div>

            <div class="box">

                <div class="box-header">
                    <h3 class="box-title">项目里程碑计划列表</h3>

                    <div class="box-tools">

                    </div>
                </div>
                <!-- /.box-header -->

                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <tbody>
                            <tr>
                                <th>标号</th>
                                <th>项目名称</th>
                                <th>名称</th>

                                <th>计划内容</th>

                                <th>计划完成时间</th>

                                <th>实际完成时间</th>
                                <th>
                                    计划处理详情
                                </th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            {volist name="data_list" id="vo" key="key"}
                            <tr>
                                <td>{$key}</td>
                                <td>{$vo.project['title']}</td>

                                <td>{$vo.title}</td>
                                <td>{$vo.content}</td>
                                <td>{$vo.complete_time}</td>
                                <td>{$vo.real_ctime}</td>
                                <td>
                                    <a href="javascript:;" class="btn label-primary" onclick="open_tab('plan_info','{:url(\'/Index/Project/Planinfo/index\',[\'planid\'=>$vo.id])}','查看处理详情')">查看处理详情</a>

                                </td>

                                <td>{$code_status[$vo.status]?=$code_status[$vo.status]}</td>

                                <td>
                                    <a href="javascript:;" data-url="{:url('/Index/Project/Plan/del')}" param="{$vo.id}" class="btn label-danger data_del_items">删除</a>

                                    <a href="{:url('/Index/Project/Plan/edit',['id'=>$vo.id,'project_id'=>input('project_id')])}" class="btn label-info" data-toggle="modal" data-target="#base_plan_modal">编辑</a>

                                    <a href="{:url('/Index/Project/Plan/status',['planid'=>$vo.id])}" class="btn label-info bg-purple" data-toggle="modal" data-target="#base_plan_modal">修改状态</a>
                                    <a href="javascript:;" data-url="{:url('/Index/Project/Plan/done')}" param="{$vo.id}" class="btn label-success  data_del_items" title="确认完成计划">完成计划 </a>
                                </td>
                            </tr>
                            {/volist}
                        </tbody>
                    </table>

                    <div class="col-sm-7">
                        {$page}

                    </div>
                </div>
            </div>
        </div>
</section>
<div class="modal " id="base_plan_modal">
    <div class="modal-dialog ">
        <div class="modal-content "></div>
    </div>
</div>
<script src="/public/admin/js/common.js"></script>